﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace whatpricemyhouse.Controller
{
    public partial class LoanTypeChecker : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
           
        }

        public List<String> getCheckList() {
            List<String> values = new List<string>();

            for (int i = 0; i < this.LoanTypeCheckList.Items.Count; i++) {
                if (LoanTypeCheckList.Items[i].Selected) {
                    String v = this.LoanTypeCheckList.Items[i].Value;
                    values.Add(v);
                }
            }
            return values;
        }
    }
}